package com.hongyue.dey01;

import java.io.*;

public class Demo {
    public static void main(String[] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("dey11\\src\\com\\zuoye\\Dey04\\Demo.java")));
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("dey13\\aaa.txt")));
        for (String i; (i = br.readLine()) != null; ) {
            bw.write(i);
            bw.newLine();
            bw.flush();
        }
        br.close();
        bw.close();
    }
}
